﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AvantGameMachine.Events
{
    public class Event
    {
        private long type = 0;
        private object data = null;

        public Event(long _type)
        {
            type = _type;
            data = null;
        }

        public Event(long _type,object _data):this(_type)
        {
            data = _data;
        }

        public long Type
        {
            get { return type; }
        }

        public object Data
        {
            get { return data; }
        }
    }
}
